<?php
require_once('includes/inc.php');
checkLang($_GET['j']);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link rel="stylesheet" type="text/css" href="jw.css.php" />
	<script type="text/javascript" src="jweather.js.php" charset="utf-8"></script>
	<script type="text/javascript" src="http://gettopup.com/releases/latest/top_up-min.js"></script> 
</head>
<body id="ibody">
	<div id="istorija">
		<span id="istorijatitle"><? echo _ISTORIJA; ?></span>		
		<span id="loading">
			<img src="img/ajaxi.gif">
		</span>
		<hr id="hrule"/>
		<div id="oddo"><? echo _ISTORIJA_OD; ?>:
			<select name="denod" id="denod">
				<option value="01">1</option>
				<option value="02">2</option>
				<option value="03">3</option>
				<option value="04">4</option>
				<option value="05">5</option>
				<option value="06">6</option>
				<option value="07">7</option>
				<option value="08">8</option>
				<option value="09">9</option>
				<option value="10">10</option>
				<option value="11">11</option>
				<option value="12">12</option>
				<option value="13">13</option>
				<option value="14">14</option>
				<option value="15">15</option>
				<option value="16">16</option>
				<option value="17">17</option>
				<option value="18">18</option>
				<option value="19">19</option>
				<option value="20">20</option>
				<option value="21">21</option>
				<option value="22">22</option>
				<option value="23">23</option>
				<option value="24">24</option>
				<option value="25">25</option>
				<option value="26">26</option>
				<option value="27">27</option>
				<option value="28">28</option>
				<option value="29">29</option>
				<option value="30">30</option>
				<option value="31">31</option>
			</select>
			<select name="mesecod" id="mesecod">
				<option value="01">1</option>
				<option value="02">2</option>
				<option value="03">3</option>
				<option value="04">4</option>
				<option value="05">5</option>
				<option value="06">6</option>
				<option value="07">7</option>
				<option value="08">8</option>
				<option value="09">9</option>
				<option value="10">10</option>
				<option value="11">11</option>
				<option value="12">12</option>
			</select>
			<select name="godod" id="godod">
				<option value="2009">2009</option>
				<option value="2010">2010</option>
				<option value="2011">2011</option>
				<option value="2012">2012</option>
				<option value="2013">2013</option>
				<option value="2014">2014</option>
			</select>
			
			- <? echo _ISTORIJA_DO; ?>:
				<select name="dendo" id="dendo">
				<option value="01">1</option>
				<option value="02">2</option>
				<option value="03">3</option>
				<option value="04">4</option>
				<option value="05">5</option>
				<option value="06">6</option>
				<option value="07">7</option>
				<option value="08">8</option>
				<option value="09">9</option>
				<option value="10">10</option>
				<option value="11">11</option>
				<option value="12">12</option>
				<option value="13">13</option>
				<option value="14">14</option>
				<option value="15">15</option>
				<option value="16">16</option>
				<option value="17">17</option>
				<option value="18">18</option>
				<option value="19">19</option>
				<option value="20">20</option>
				<option value="21">21</option>
				<option value="22">22</option>
				<option value="23">23</option>
				<option value="24">24</option>
				<option value="25">25</option>
				<option value="26">26</option>
				<option value="27">27</option>
				<option value="28">28</option>
				<option value="29">29</option>
				<option value="30">30</option>
				<option value="31">31</option>
			</select>
			<select name="mesecdo" id="mesecdo">
				<option value="01">1</option>
				<option value="02">2</option>
				<option value="03">3</option>
				<option value="04">4</option>
				<option value="05">5</option>
				<option value="06">6</option>
				<option value="07">7</option>
				<option value="08">8</option>
				<option value="09">9</option>
				<option value="10">10</option>
				<option value="11">11</option>
				<option value="12">12</option>
			</select>
			<select name="goddo" id="goddo">
				<option value="2009">2009</option>
				<option value="2010">2010</option>
			</select>
		</div>
		<br />
		<div id="iparams">
		<form name="params">
			<input type="checkbox" name="param" value="t">
			<? echo _TEMPERATURA; ?><br>
			<input type="checkbox" name="param" value="h">
			<? echo _VLAZNOST; ?><br>
			<input type="checkbox" name="param" value="v">
			<? echo _VIDLIVOST; ?><br>
			<input type="checkbox" name="param" value="p">
			<? echo _PRITISOK; ?><br>
			<input type="checkbox" name="param" value="w">
			<? echo _VETER; ?><br>
		</form>
		</div>
		<div id="igradovi">
			<? echo _GRADOVI; ?><br />
			<? echo vcitajGradovi(); ?>
		</div>
		<div id="igen">
			<input type="button" value="<? echo _GEN; ?>" onclick="prikaziGraf()" />
		</div>
		<hr id="hrule"/>
	</div>
	<div id="grafici"></div>
	</body>
</html>